export const scrollIntoView = (className = 'is-error') => {
  const isError = document.getElementsByClassName(className);
  isError[0].scrollIntoView({
    block: 'center',
    behavior: 'smooth',
  })
}